<?php

interface IConnection {
    
    /* Conexão administrativa */
    const CONN_ADM = 0;
    
    /* Conexão de negócio */
    const CONN_BUS = 1;

    function open();

    function close();

    function __destruct();

    function executeUpdate($sql);

    function executeQuery($sql);

    function getAutoId();
    
    function rollback();
}

?>
